package org.jeecg.modules.course.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 测试试题
 * @Author: jeecg-boot
 * @Date:   2024-10-07
 * @Version: V1.0
 */
@Data
@TableName("gw_course_catalog_test")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="gw_course_catalog_test对象", description="测试试题")
public class GwCourseCatalogTest {
    
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
	private java.lang.String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建日期*/
	@Excel(name = "创建日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
	private java.util.Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新日期*/
	@Excel(name = "更新日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
	private java.util.Date updateTime;
	/**课程标识*/
	@Excel(name = "课程标识", width = 15)
    @ApiModelProperty(value = "课程标识")
	private java.lang.String courseId;
	/**目录标识*/
	@Excel(name = "目录标识", width = 15)
    @ApiModelProperty(value = "目录标识")
	private java.lang.String catalogId;
	/**问题*/
	@Excel(name = "问题", width = 15)
    @ApiModelProperty(value = "问题")
	private java.lang.String question;
	/**问题类型:0:单选， 1:多选*/
	@Excel(name = "问题类型:0:单选， 1:多选", width = 15)
    @ApiModelProperty(value = "问题类型:0:单选， 1:多选")
	private java.lang.Integer questionType;
	/**选择列表*/
	@Excel(name = "选择列表", width = 15)
    @ApiModelProperty(value = "选择列表")
	@JsonIgnore
	private java.lang.String answerList;

	/**选择列表*/
	@Excel(name = "选择列表", width = 15)
	@ApiModelProperty(value = "选择列表")
	@TableField(exist = false)
	private List<Map<String, String>> answers;

	/**正确答案*/
	@Excel(name = "正确答案", width = 15)
    @ApiModelProperty(value = "正确答案")
	private java.lang.String rightAnswer;

	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
	private java.lang.Integer questionSort;
}
